package v3

import "fmt"

type Notifier interface {
	Send(message string)
}

type NotifierDecorator struct {
	Wrapped Notifier
}

func (n *NotifierDecorator) Send(message string) {
	n.Wrapped.Send(message)
}

type LogNotifier struct {
}

func (l *LogNotifier) Send(message string) {
	fmt.Println("send log record: " + message)
}
